﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Qreed.Xna.Font
{
    /// <summary>
    /// The outline vertices of a character.
    /// </summary>
    public class VectorFontCharacterOutline
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="VectorFontCharacterOutline"/> class.
        /// </summary>
        public VectorFontCharacterOutline()
        {}

        /// <summary>
        /// Initializes a new instance of the <see cref="VectorFontCharacterOutline"/> class.
        /// </summary>
        /// <param name="startIndex">The start index.</param>
        /// <param name="length">The length.</param>
        /// <param name="isInnerOutline">if set to <c>true</c> [is inner outline].</param>
        public VectorFontCharacterOutline(int startIndex, int length, bool isInnerOutline)
        {
            _startIndex = startIndex;
            _length = length;
            _isInnerOutline = isInnerOutline;
        }

        private int _startIndex;
        /// <summary>
        /// Gets the start index.
        /// </summary>
        /// <value>The start index.</value>
        public int StartIndex
        {
            get { return this._startIndex; }
        }

        private int _length;
        /// <summary>
        /// Gets the length.
        /// </summary>
        /// <value>The length.</value>
        public int Length
        {
            get { return this._length; }
        }

        private bool _isInnerOutline;
        /// <summary>
        /// Gets a value indicating whether this instance is inner outline.
        /// </summary>
        /// <value>
        /// 	<c>true</c> if this instance is inner outline; otherwise, <c>false</c>.
        /// </value>
        public bool IsInnerOutline
        {
            get { return this._isInnerOutline; }
        }
    }
}
